package team.zero.lemon.module.workflow.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import team.zero.lemon.common.service.CrudService;
import team.zero.lemon.module.workflow.dao.IFormDefinitionDao;
import team.zero.lemon.module.workflow.entity.FormDefinition;

import java.util.List;

/**
 * Created by Bo on 2016/10/24.
 */
@Service
public class FormDefinitionService extends CrudService<IFormDefinitionDao, FormDefinition> {
    public List<FormDefinition> findByFormId(Integer formId){
        return  dao.findByFormId(formId);
    }
}

